package com.vanke.activiti.controller;

import com.vanke.activiti.common.response.ResultResponse;
import com.vanke.activiti.pojo.dto.FormDTO;
import com.vanke.activiti.service.DeploymentProcessService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * 部署流程控制器
 */
//@Slf4j
//@RestController
//@RequestMapping("deployment")
public class DeploymentProcessController {

//    @Resource
//    private DeploymentProcessService deploymentProcessService;

//    @PostMapping("/deploy")
//    public ResultResponse deployProcessDifinitionByFormInfo(@RequestBody FormDTO formDTO){
//      log.info("deployProcessDifinitionByFormInfo FormDTO :{}",formDTO.toString());
////      return deploymentProcessService.deployProcessDifinitionByFormInfo(formDTO);
//        return ResultResponse.getSucceed(null);
//    }
}
